package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 添加图片的DTO类
 */
@Data
public class PictureAddNewDTO implements Serializable {
    @ApiModelProperty(value = "相册ID", required = true)
    private Long albumId;
    @ApiModelProperty(value = "图片路径", required = true)
    private String url;
    @ApiModelProperty(value = "图片简介", required = true)
    private String description;
    @ApiModelProperty(value = "图片宽度", required = true)
    private Integer width;
    @ApiModelProperty(value = "图片高度", required = true)
    private Integer height;
    @ApiModelProperty(value = "是否为封面图片", required = true)
    private Integer isCover;
    @ApiModelProperty(value = "自定义排序序号", required = true)
    private Integer sort;
}
